package com.dailyblue.java.spring.project.smbms.commons.bean;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("smbms_user")
public class Users implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String userCode;
    private String userName;
    private String userPassword;
    private Integer gender;
    @TableField(exist = false)
    private String userSex;
    private String birthday;
    private Integer userAge;
    private String phone;
    private String address;
    private Integer userRole;
    private Integer createdBy;
    private String creationDate;
    private Integer modifyBy;
    private String modifyDate;
    @TableLogic(value = "1", delval = "0")
    private Integer userState;
    @TableField(exist = false)
    private Integer roleId;
    @TableField(exist = false)
    private String roleName;
}
